import React from "react";
import {HomeWrapper} from "@/component/Home/style";
import {BaseContainer} from "./style";
import {Button, Result} from 'antd';

const RouterNotFound = (props) => {
    return <>
        <HomeWrapper>
            <BaseContainer>
                <Result
                    status="404"
                    title="404"
                    subTitle="哎呀，你访问的网址好像不存在呀。"
                    extra={<Button type="primary" onClick={() => window._ROUTER_.push('/home')}>返回首页</Button>}
                />
            </BaseContainer>
        </HomeWrapper>
    </>
}
export default RouterNotFound;
